//
//  CQTagBorderStateButton.h
//  CJUIKitDemo
//
//  Created by ciyouzen on 7/9/15.
//  Copyright (c) 2015 dvlproad. All rights reserved.
//
//  此类只是为了增加对boderColor的控制而已

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface CQTagBorderStateButton : UIButton {
    
}
@property (nonatomic, copy) void(^selectedChangeCompleteBlock)(CQTagBorderStateButton *button); /**< 单选按钮(选中)状态改变后的block(可用来做一些图片的transform旋转等) */

/*
 *  "提交"/"修改"状态选择按钮(if you want to show editTitle, you should make selected == YES)
 *
 *  @param submitTitle              submitTitle(current selected should be YES)
 *  @param editTitle                editTitle(current selected should be NO)
 *  @param showEditTitle            showEditTitle(if you want to show editTitle, you should make selected == YES)
 *  @param clickSubmitTitleHandle   click submitTitle action
 *  @param clickEditTitleHandle     click editTitle action
 */
- (instancetype)initWithSubmitTitle:(NSString *)submitTitle
                          editTitle:(NSString *)editTitle
                      showEditTitle:(BOOL)showEditTitle
             clickSubmitTitleHandle:(void(^)(UIButton *button))clickSubmitTitleHandle
               clickEditTitleHandle:(void(^)(UIButton *button))clickEditTitleHandle;

@end

NS_ASSUME_NONNULL_END
